package com.example.test_system.model;

public class Judge implements Question {
    private int judge_id;
    private String topic;
    private boolean answer;

    public Judge(int judge_id, String topic, boolean answer) {
        this.judge_id = judge_id;
        this.topic = topic;
        this.answer = answer;
    }

    public int getJudge_id() {
        return judge_id;
    }

    public String getTopic() {
        return topic;
    }

    public boolean isAnswer() {
        return answer;
    }

    public void setJudge_id(int judge_id) {
        this.judge_id = judge_id;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public void setAnswer(boolean answer) {
        this.answer = answer;
    }

    @Override
    public String toString() {
        return "Judge{" +
                "judge_id=" + judge_id +
                ", topic='" + topic + '\'' +
                ", answer=" + answer +
                '}';
    }
}
